#!/usr/bin/python
# -*- coding: utf-8 -*-
# Author: MK2[fengmk2@gmail.com]
"""docstrings
"""

from django.db import models

class Safe(models.Model):
    """销售记录"""
    product_id = models.IntegerField()
    purchase_price = models.DecimalField('进货价')
    retail_price  = models.DecimalField('零售价')
    safe_date = models.DateTimeField(auto_now_add=True, db_index=True)
    number = models.IntegerField('物品数量')